import request from '@/utils/request'

// 查询影厅类型列表
export function listHallytpe(query) {
  return request({
    url: '/cinema/cinema/hallytpe/list',
    method: 'get',
    params: query
  })
}

// 查询影厅类型详细
export function getHallytpe(htId) {
  return request({
    url: '/cinema/cinema/hallytpe/' + htId,
    method: 'get'
  })
}

// 新增影厅类型
export function addHallytpe(data) {
  return request({
    url: '/cinema/cinema/hallytpe',
    method: 'post',
    data: data
  })
}

// 修改影厅类型
export function updateHallytpe(data) {
  return request({
    url: '/cinema/cinema/hallytpe',
    method: 'put',
    data: data
  })
}

// 删除影厅类型
export function delHallytpe(htId) {
  return request({
    url: '/cinema/cinema/hallytpe/' + htId,
    method: 'delete'
  })
}

// 导出影厅类型
export function exportHallytpe(query) {
  return request({
    url: '/cinema/cinema/hallytpe/export',
    method: 'get',
    params: query
  })
}